package com.toKnow.service.impl;

import com.toKnow.mapper.UtilMapper;
import com.toKnow.service.UtilService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UtilServiceImpl implements UtilService {
    @Resource
    private UtilMapper utilMapper;

    @Override
    public List<String> getEducation() {
        return utilMapper.selectEducation();
    }

    @Override
    public List<String> getUniversity() {
        return utilMapper.selectUniversity();
    }

    @Override
    public List<String> getTag() {
        return utilMapper.selectTag();
    }

    @Override
    public List<String> getType() {
        return utilMapper.selectType();
    }
}
